package com.tansun.easycare.rule.globalsearch.dao;

import java.util.List;

import com.tansun.easycare.rule.common.dao.RuleBaseDao;
import com.tansun.easycare.rule.globalsearch.entity.RuleGlobalSearch;

/**
 * 规则搜索DAO接口
 *
 * @author zhaojunxian
 * @version 2019-11-19
 */

public interface RuleGlobalSearchDao extends RuleBaseDao<RuleGlobalSearch> {
	/**
	 * 规则搜索，变量为主表
	 * @param ruleName
	 * @param dataParamsName
	 * @return
	 * @throws Exception
	 */
	public List<RuleGlobalSearch> getRuleGlobalSearchListByParams(RuleGlobalSearch ruleGlobalSearch)throws Exception;
	/**
	 * 规则搜索，规则为主表
	 * @param ruleName
	 * @param dataParamsName
	 * @return
	 * @throws Exception
	 */
	public List<RuleGlobalSearch> getRuleGlobalSearchListByRule(RuleGlobalSearch ruleGlobalSearch)throws Exception;
	/**
	 * 规则搜索，模型为主表
	 * @param ruleName
	 * @param dataParamsName
	 * @return
	 * @throws Exception
	 */
	public List<RuleGlobalSearch> getRuleGlobalSearchListByModel(RuleGlobalSearch ruleGlobalSearch)throws Exception;
}